﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using System.Windows.Navigation;

namespace Wpf3D
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
        {
            MessageBox.Show(string.Concat("WebSite", e.Uri.ToString(), "cannot be reached."));
            if (e.Exception is System.Net.WebException)
            {
                MessageBox.Show(string.Concat("WebSite",e.Uri.ToString(),"cannot be reached."));
                e.Handled = true;
            }
        }

    }
}
